home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / DEMOS / SWARS / !Swars / Sources / h / Swarshead
Text File  |  1996-03-17  |  1KB  |  38 lines

  1. /*-----------------------------------------------------------------------*/
  2. /* HEADER FILE FOR THE FIRE ROUTINE ... MUST BE QUIET MODULAR ? ... ;>   */
  3. /*-----------------------------------------------------------------------*/
  4.  
  5. /* Constants used through the code ... */
  6.  
  7. #define GFXMODE 13                      /* mode */
  8. #define SCRWIDTH 320                    /* mode width */
  9. #define SCRLENGTH 256                   /* mode length */
  10. #define LENGTHMAX 106                   /* length max used */
  11. #define SCRSIZE (SCRWIDTH*SCRLENGTH)
  12. #define PII 3.141596e00                   /* pi number */
  13.  
  14. /* Structures */
  15.  
  16. typedef struct {
  17.   unsigned int mode, TotalScreenSize;
  18.   unsigned char  *ScreenStart, *DisplayStart;
  19. } screen;
  20.  
  21. typedef struct {
  22.   unsigned int start;
  23.   unsigned int stop;
  24. } scrobj;
  25.  
  26. /* Prototypes */
  27.  
  28. int main(void);
  29. void initobjet( scrobj *p);
  30. void initstep( unsigned int *s, scrobj *p);
  31. void stretch( unsigned char *buf,unsigned char *imgd,unsigned int *s, scrobj *p);
  32. void scrolls( unsigned char *buf);
  33. void starwars( unsigned char *buf);
  34.  
  35.  
  36.  
  37.  
  38.